Skip to content

ls: track permissions column width independently#12411

Merged
sylvestre merged 1 commit into
uutils:mainfrom
sylvestre:issue-11790
May 24, 2026
Merged

ls: track permissions column width independently#12411
sylvestre merged 1 commit into
uutils:mainfrom
sylvestre:issue-11790

Conversation

@sylvestre
Copy link
Copy Markdown
Contributor

Replace the has_alt_access boolean (which widened the link-count column to reserve space for the ACL/context indicator) with a permissions field on PaddingCollection, so each column owns its own width.

Also make ACL detection in the padding-calculation pass use item.path() to match the render path (previously used item.display_name()).

Refs #11790

Replace the `has_alt_access` boolean (which widened the link-count column
to reserve space for the ACL/context indicator) with a `permissions`
field on `PaddingCollection`, so each column owns its own width.

Also make ACL detection in the padding-calculation pass use `item.path()`
to match the render path (previously used `item.display_name()`).

Refs uutils#11790
@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/tail-n0f (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/cut/cut-huge-range is now passing!

@sylvestre sylvestre marked this pull request as ready for review May 21, 2026 09:21
@sylvestre sylvestre requested a review from cakebaker May 23, 2026 14:57
@sylvestre sylvestre merged commit c8af53a into uutils:main May 24, 2026
173 checks passed
@sylvestre sylvestre deleted the issue-11790 branch May 24, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant